package cn.org.itool.common.service;


import cn.org.itool.common.constent.CodeEnum;
import cn.org.itool.common.constent.LoginEnum;
import cn.org.itool.common.exception.BizException;
import org.springframework.stereotype.Component;

public interface LoginService {

    LoginEnum type();

    default String getUserIdByToken(String token){
        throw new BizException(CodeEnum.ERROR, "WebLoginService#getUserIdByToken impl is null");
    }
}
